Useful script to extract all JSON