parse_flows: Parse the information from a 'flows' definition table.
Description
This function checks the content of a flows definition,
and appends some missing columns.
It is mainly used internally, but can be invoked by the uses to see what it does.