powmedia/backbone-forms — pull request #46 by theinterned (2012-03-19 21:14:56+00:00)
Title: In NestedModels, allow serializing data out of nested models

Check to see if data.toJSON() is defined and set data to it if it is. This allows the NestedModels editor to work with both vanilla javascript and with backbone models.