Revert "Revert "Search and Contribute scripts now return xml""

This reverts commit 6854b2c96a9fcb3e807f4c9ecff16938b4d53944.