Mar-20-2018, 03:57 PM
The json would look exactly like your
grouped
dict, right? If it actually matters what order the elements are found in, then... mind sharing what your expected json output would be?