Added logging interface, updated JSON data tester.