Changes for the api-json extract script to run successfully