add script to convert to json