Add function to encode avro_type() into JSON. This required to write OCFs header.
Add function to encode avro_type() into JSON. This required to write OCFs header.

gaynetdinov/eavro,linearregression/eavro