Convert strings to .format()