Change mateIds to be strings