Java to Backbone.js model generator