1. The C structure local_obs_data takes ownership of the node, so we need to convert the node to an object to avoid calling free too many times.

2. Will return the value from addNode