If you console.log()
a JS object, then you get something like
[Object object]
in the console. However, if you wrap your object in
JSON.stringify()
then it will be pretty printed in the console and you'll be
able to see all of the object's fields.