support Hive tinyint type in to_json/from_json UDF's