allow serialization of root objects without an id