Set XML name for array members

This Api fails when used with format=xml, as it does not
instruct the API what name should be used for each member
of the array.

Use setIndexedTagName to set the members to be an 'entity'
to match the outer 'entities'.