Fix overall_pub and onto_tagged
Added output of categories as .json-file