Keep track of object property changes in Node.js