added enum support to codegen_jschema