[JOHNZON-333] align both writePrimitives methods of MappingGeneratorImpl
4 files changed