API camelcase

Automatically convert API fields to/from camelCase.

Please review, @cfaessler.