Fixed formatting issue with expected json output file, and added function to compare expected output with actual output