fix ClassCastException on LazyString in serialize (issue #25)
JsonSerde serialize: number not string in JSON for numerical columns
Move Hive version compatibility code into shims (issue #27)