records: aggregation field definitions fix

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>
workflows: move persistent_ids to extra_data

* Moves the persistent_ids column into an extra_data field.

* Changes tasks appropriately.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>