Set-Cookie Header getting corrupted because we end up with array inside array

Prevents Set-Cookie Header from messing up with one Set-Cookie having multiple cookies because we end up with array inside array