Fix the to_string function that does not exist in our std library