wip: add download support via format and filename params