Fixed bugs within the JSON save/load functions. Updated unit test, which is now functional and passes on save/load JSON operations.