This function accepts a single record from a nested query and removes the element with nested "records" which represent the child records belonging to the parent.
drop_nested_child_records(x)
list
; a list parsed from JSON and representing one individual
parent query record.
list
; a list without any elements that have nested child records
assuming they have already been extracted.