Added convenience methods for serializing OBJs