Add eco_scenario.json endpoint to support modeling

I factored some code out of the eco.json endpoint to keep things DRY.