Add obstacle refinements and refinement children to the relational export.
Agents have a definition, no longer a description.
Export agent type in lower case.
Enhance some error messages.