code: function (opts) {
          var objectName = opts.name
          var object = null
  
          this.objects.forEach(function (item) {
              if (item.name == objectName) {
                  object = item
              }
          })
          if (object !== null) {
              return object
          }
      }
docs: Get the object for the specific object name. It will return the 1st
  object found on the array for the given name.
  
  @opt {String} name Object name
  @returns {Object} Object