PF-122 Correctly parsing xml content for the messages retrieved from management api