I need help turning the following SQL results to a nested JSON using Python based on the rows having a parent ID column.
Name - ID - Group - ParentID Ryan 827