You can usually optimize the general XML by using static XMLObject declarations wherever possible. For example, use:
<List> instead of <list>
<String> instead of <s>
<Map><MapEntry ...></Map> instead of <map>
Also, depending on the context, you might have to wrap objects instead of using the <o></o> element.