Allow using strings for object_ids (such as uuids)