Separate case for enums
Cleanup duplicated compatibility ifndef
json2protobuf: move json_is_object check to better place
json2protobuf: support enums processing