Make sure dictionary returns a string