Just FYI, we could use something like

    m.get('value_sets').each (valueSet) ->

instead of

    for valueSet in m.get('value_sets').models