forms: Properly export choices lists

Previously, this was not ported properly now that multiple selections are supported in the choice field and derivatives.