Issue #2373821 by paulbeaney, mkalkbrenner: differentiate between scalar and complex get and cookie values