[BUGFIX] Empty array not encoded as empty XML tag