workflows: html raw marc views fixed

* Fixes HTML, RAW and MARC views in details page.

Signed-of-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
It is cleaner if we do the prettify-ing at a lower level. For example in `get_formatted_data` (which from it's name should already have it formatted and nice).