Fix buildability of internal package.
Don't serialize fields with blank XML names.