Fixed json escaping

Changed apostrophe escaping to double quote escaping.
Added double quote escaping to the search query.