api: remove dead code in WSGI XML serializer

Change-Id: I3a08da32a55ac732366e9c3821f39697cd0e2ecd
Merge "api: remove dead code in WSGI XML serializer"