serializing variable watch tree and passing it along to be sent to the
client