cli: list instead of map
add error to results
add class name to metrics obj