function (result){
      var body = JSON.parse(result.body);
      // console.log(body);
      return exits.success(
        inputs.id ? {item: body[inputs.model]} : {items: body[inputs.model], count: body.listcount}
      );
    }
function (result){
      var body = JSON.parse(result.body);
      
      return exits.success(
        inputs.id ? {item: body[inputs.model]} : {items: body[inputs.model], count: body.listcount}
      );
    }
function ( result ) { var body = JSON . parse ( result . body ) ; // console.log(body); return exits . success ( inputs . id ? { item : body [ inputs . model ] } : { items : body [ inputs . model ] , count : body . listcount } ) ; }
OK.
OK .