First cut of the json converter