use serializer's parseClassName method
Account for `parseUser` type in `parseClassName` method
fix issue where typeKey is only available on constructor