Added JSON.parse on setting returned to front end