add script to allow dynamically process json files