print data array on console

it will print the data array on node console.