Added export to graph formats and json