statistics: fixed MI get_statistics command to cope with mi_json