added option for json on scripts/dy_create_all_ntuples.py