Writing the metric directly into the output file (csv extension) without using the YAML module.

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Signed-off-by: Lucas Kanashiro <lucas-kanashiro@hotmail.com>