I think the solution you came up with is acceptable. We want to support an infinite number of accounts elsewhere, and it's likely that others will require XML processing, too.