Prevent case chaning in the generated JSON

This breaks e.g. Union matching if not set to true