var app = require('../app/get');
var of = new (require('object-formatter'))('@', null);

var schema = {
	arm_id: '@_id'
};

module.exports = function (req, res) {
	var modelId = req.body.model_id;

	app.main(modelId, function (error, result) {
		var status = error ? 400 : 200;

		res.status(status).json(of.format(schema, result));
	});
};

@@ -112,16 +112,42 @@
 : '@_id'
+,%0A%09name: '@name=undefined'
 %0A%7D;%0A%0Amod

Add name field to get param