adopt a serialiser supporting object ids