If by_form_id is TRUE, a data.table of data.tables for the
survey, choices, and settings components of the form definitions. Otherwise
a list of data.tables.
Arguments
form_metadata
data.table returned by scto_get_form_metadata().
by_form_id
Logical indicating whether to unnest definitions of
multiple versions of a given form (default), or to unnest definitions of
all forms together.