add doc util cookie and json