Converted strings from js to json