lettura dati mongodb corretta

Signed-off-by: Sebastiano Mariani <seba0691@gmail.com>