Json output

Kyle and Jody reviewed Kyle's changes.