Add support of JSON on the get_nb_don.py script