views: fix export of non HTML formats
views: fix export of non HTML formats

* FIX Fixes export of records in non HTML formats.
  (closes inveniosoftware/invenio#3351)

Tested-by: Javier Martin Montull <ea6b80e26c65acc242d8916fb6eefa01b123cb69@cern.ch>
Signed-off-by: Jiri Kuncar <2bdffcb416fed3002465740d19a053a39918cbe5@cern.ch>

tiborsimko/invenio-records,inveniosoftware/invenio-records,tiborsimko/invenio-records,inveniosoftware/invenio-records