moved serializer code into json parser benchmark because gradle build was broke