Refactored metric_configuration_snapshot

Signed-off-by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
New method to convert hash to array

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Refactored Metric result

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>