Partial support for deserializing classes with fieldNames.