... so that the actual class of the object is returned instead of potentially an element with key "class" if object is a Map