added missing string cast to be able to serialise it