In fact, this would make a good test case, passing in a JSON file and spitting back out the JSON again and making sure they're equal.