It'd be nice if we could have a general toObject method, kind of the way we have for compare, to cut down on the copy/paste that's necessary.