Enabling an option to return xml as an extra option

The first one wasn't quite right. This one is better.