Legacy publishing adapter to ease transition

The new generalised publishing set up puts all document attributes beyond title,
body, summary, slug in a details hash field.

This adapter flattens and duplicates the data export such that it will work
across the transition period.