remove json glib dependency which was not needed; add some extra code for testing graph.php from a web browser in different formats