Note: because of the limitations outlined below custom handlers
and schema are ignored with serialized objects.
Properties that hold anonymous functions are also skipped. Some of these
can almost be reconstructed (_handlers) others cannot (_methodFilters
and schema).