Ability to create serializers in runtime form java.lang.Class<T>