Fix Windows line-endings breaking JsonFile tests

Windows ```\r\n``` line-endings break some of the tests in ```JsonFileTest.php```