Sails.js framework, convert and view options