For xml output, always make single entities into an array.