Set oven and line pan. Preheat the oven to 375°F, adjust a rack to the center and line a sheet pan with parchment paper. Set aside.
Cook onions and garlic with spices. Coat the bottom of a large skillet (approx. 12-inch) with the olive oil and place it over medium-low heat. Add the onion and garlic, and stirring often, sauté just until the onions are soft and translucent, about 7 minutes. Add the nutmeg and cayenne and mix. Set aside to cool.
Blanch and drain spinach. Bring a large (approx. 6 quart) pot of water to a boil. Add all of the spinach, mix and turn off the heat. Drain as soon as all of the leaves are wilted, about 2 minutes. Leave it in the colander to cool until it’s not too hot to touch.
Add the Ricotta, 2 tablespoons of the Parmesan, lemon zest, lemon juice, salt and black pepper to a large mixing bowl. Set aside.
Further drain spinach and mix with eggs. Once you’re able to handle the spinach comfortably, squeeze as much liquid as possible out of it with your hands, one large handful at time. You will likely have close to ¾ cup of liquid, which you can discard. As you do this, add the spinach to a food processor fitted with the blade attachment and add the eggs to it. Blend until it’s relatively smooth and the spinach is in tiny pieces.
Combine all of the ingredients. Add the spinach mixture, along with the onion mixture, to the bowl with the cheese and mix until it's evenly combined. Set aside.