code: function getTypeFromContext (context) {
    if (!context.method.returns) return undefined
  
    const returns = [].concat(context.method.returns)
    for (var i = 0, l = returns.length; i < l; i++) {
      if (typeof returns[i] !== 'object' || returns[i].root !== true) continue
      return returns[i].type
    }
  }
docs: Returns a model type from the context object.
  Infer the type from the `root` returns in the remote.
  @public
  @memberOf {Utils}
  @param {Object} context
  @param {Object} app
  @return {String}