Add ability to generate initializers from JSON (untested)