remove whitespace from xml tags in APIs

http://manage.dimagi.com/default.asp?102902