Add minor bugfixes for cookie arrays request/response