ECDR-3: Updated exi encoding to a utility class.
Changed to use same method as gzip and fastinfoset which are CXF interceptors.