docs_json view.  other fixes