Simplified the DataCollector more.
Using json library now instead of treating the JSON like a string and trying to parse it.