replace the quotation marks with square brackets