Patch in toObject, closes https://github.com/balderdashy/waterline/issues/378