Extracts the linked PHP files from a PHP project and creates a JSON file suitable for use with d3js.