Escape keys in objects because MongoDB is stupid