Json

Changes profile to use JSON
Added awareness of content-type header to render pretty printed JSON to browser
Updated editor