[CXF-5952, CXF-5953] Fixing few issues related to the processing of representation params