restructured results to dicts