refactor(capacities): use capacities as map as returned by server
Merge pull request #20 from HSLdevcom/capacities-as-object

refactor(capacities): use capacities as map as returned by server