Test to see if a file is valid JSON