allow child objects to be easily serialized