begin working on actual conversion to json