Adding correct encoding to HAL response header