Enabling an option to return xml as an extra option