Preserve fields order in JSON schemes

Also fixes this build failure (order on Java 7 and Java 8 was
different): https://travis-ci.org/stanfy/helium/jobs/36163930

/cc @lampapos