Scale and clean the fish, but leave the heads on. Season the fish inside and out with salt and pepper, and put a small pinch of thyme and a sprig of parsley in the cavity of each.
Select as many baking pans as necessary to just hold the fish in a single layer. Oil the pans with a little olive oil.
Sauté the onions and shallots in a little olive oil, a