switching from json-simple to gson [oh the pain :( ]
nearly finished the big switch
all tests passing now