Adding the ability to serialize and XML payload even if no XML parameters were set.