Improved generated code by defining map outside of function.
Improved generated code by defining map outside of function.

matryer/jsonenums,campoy/jsonenums,campoy/jsonenums,matryer/jsonenums,daved/jsonenums,daved/jsonenums