ObjectValidator: make it return pointer info along with nodes, test

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>