function cleanArgs() {

  var args = Array.prototype.slice.call(arguments, 0),
      cleanedArgs = _.map(args, function(arg) {
        if (arg instanceof Spacebars.kw) return undefined;
        else if (typeof arg === 'string')
          try {
            return JSON.parge(arg);
          } catch(e) {
            return arg;
          }
        else return arg;
      });
  return cleanedArgs.length && cleanedArgs.length === 1 ? cleanedArgs[0] : cleanedArgs;

}
// Plus, we parse JSON passed as a string
Plus, we parse JSON passed as a string
Plus we parse JSON passed as a string
function cleanArgs() {
  var args = Array.prototype.slice.call(arguments, 0),
      cleanedArgs = _.map(args, function(arg) {
        if (arg instanceof Spacebars.kw) return undefined;
        else if (typeof arg === 'string')
          try {
            return JSON.parge(arg);
          } catch(e) {
            return arg;
          }
        else return arg;
      });
  return cleanedArgs.length && cleanedArgs.length === 1 ? cleanedArgs[0] : cleanedArgs;
}
function cleanArgs ( ) { var args = Array . prototype . slice . call ( arguments , 0 ) , cleanedArgs = _ . map ( args , function ( arg ) { if ( arg instanceof Spacebars . kw ) return undefined ; else if ( typeof arg === 'string' ) try { return JSON . parge ( arg ) ; } catch ( e ) { return arg ; } else return arg ; } ) ; return cleanedArgs . length && cleanedArgs . length === 1 ? cleanedArgs [ 0 ] : cleanedArgs ; }
Plus, we parse JSON passed as a string
Plus we parse JSON passed as a string