Adding code to generate Plivo XML