test_p3G_script works with current p3g ecouter to flatten json file