fix id conversion on embbeded collections