Fix formatting of vvalues to str

previously it was throwing errors if the value was not already a string, so it must be case with str()