Switch to copyJSON to break refrences