Generated json can be made into a list of hashtables. This won't be necessary after the app accepts json directly