ODocument serialization fixed