also convert object ids in arrays