Read and parse a JSON file synchronously