parse strings in a JSON file