remove length prefix from xml format