Accounting API - fix retrieval of metrics data