small fix by casting to str. modelItem params str objects seem to be casted to numpy str somewhere