replaced options.debug with options.json for creating a json dump of the raw collected data, better formatting of log messages, code formatting
removing old test files