Node.js recursive object proxy