Reversed const changes for json_copy