Patch objects with spaces

* Fixes https://www.pivotaltracker.com/story/show/72296804