Introduced caster to persist types to HBase properly