fixing mapping issues in knockout.sails