simplify reading static file on test server and add url for invalid json