Update to newform of metrics endpoint
Pass back raised errors from machiavelli, and empty datasets