added necessary escape for json