Finalised summary workflow, added possibility to handle array summary elements and changed summary output: this means that the current version is not compatible with the user interface, summary elements must be handled differently.
Need to change the types of value the domain API parameter holds: it should now be an array with the offset as key and the offset match value as value, this corresponds to the current selected summary leaf element.