can convert to JSON from node object