Make a copy when get or set a json value.