Changed my mind, vertical whitespace is good for you
Add warehouse.db.rows helper which returns a list of rows
Add a helper function for mapping a row to a dict
Clean up this database function a little bit