Save only the required attributes from other nodes instead of saving the node objects. Refer req #308. This also fixes req #307