Clean up of data interface

Replaced 'csv', 'tsv' and 'json' attribute by 'uri' and 'mimetype'.