Implement downloads

The download function takes an object (including propertyName)
and returns a url.