added a function to show the json data

also added more of the required flowchart data into the script