Convert acceptedEncoding from mutable Array to immutable List