``$class`` not being a string does not respect the interface.

If you want to update an existing object, it would be better to pass it in a context option. but anyway, I'm not sure this is really in the scope of this normalizer