Escape brackets in JSON output

Without this the page wourl render incorrectly. :cry: