Heat the oil in a non-stick pan over medium heat. Add the onions and saute until slightly golden. Add the garlic and saute for 2 minutes. Add the turmeric powder, dried basil, dried coriander and spinach; mix well. Cook over medium-low heat until all the liquid is absorbed, stirring occasionally.
In a large bowl, combine the cooked rice, spinach mixture, eggs, mozzarella cheese, parmesan cheese, salt and pepper to taste.
Preheat oven to 360 degrees F. Spray a baking dish with cooking spray. Using your hands, form the mixture into golf-ball size balls. Place them into baking dish and bake in oven for 10-15 minutes or until firm. You can serve with marinara sauce on the side.