Optionally convert ObjectIDs