Converts a single level nested list into a flat list. On conversion it only retains the values of the keys mentioned in the "group_fields" and "list fields"