Fixed incorrect wiring of JSON into local file