Default to json for html format, issue #19