Got command structure capture fully working -- arrays nicely formated, and names instead of ids.