Wouldn't it make more sense to store it as this: 

var child_sysID = gr.getValue('child') +'';

Instead of :

var child_sysID = gr.child;

 

That way it is not referencing an object. 


Best regards,
Sebastian Laursen