Fix JSON indentation and syntax errors

Backslashes needs to be escaped.