ImmutableClassSerializer(klass: KClass<T>)
Serializes properties and deserializes by using the constructor. This assumes that all backed properties are set via the constructor and the class is immutable.