Exposing JSON to the scripts