fix yaws support for converting headers to list