fixes #4505 Structure fields cannot contain quotation marks

Fixed the isue and committed code for review, please check it.