Hey Jamie,
Personally I would use something like:
{exp:your_module array="val_1:key_1|val_2:key_2|val_3|val_4|val5"}
And then you could explode the value at the pipe character loop through them all and explode the colon for the key + value. If there was no colon you would just have the value.
Cheers
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.