Fix a bug where we were throwing a JSON parsing exception since Code Cli...

...mate returns an HTML document