Bug: 12595: Fix sending of empty array attributes.

Fixes bogus logging, as well as some fringe-case wbxml corruption.
BFN