fixed deserialization for fields with wrong model