fix(order/documentation): Save documentation first

- fix order of saving documentation, first the documentation element has
  to be saved and then the extension elements

related to CAM-914