MDL-34258: Plagiarism API now returns strings so mod_assign needs these updates