First part of the Json generator is working, along with  a unit test