storage_data: Expose directories as directory model objects
This also creates valid directories along the way. [1]
- [1] Almost, their id are still hard-coded (for now?)
Related to #2494 (closed)
Depend on !857 (closed)
Test Plan
tox
Migrated from D3585 (view on Phabricator)