ClassHack w. new JSON Output

Edited to add a root to JSON file output as a key pointing to the list
as a value.