def method_missing(meth, *args, &block)
      if key?(meth)
        value = self[meth]

        if value.is_a?(Hash)
          value.instance_eval do
            def method_missing(meth, *args, &block)
              if key?(meth)
                return fetch(meth)
              end

              super
            end
          end
        end

        return value
      end
      # rubocop:enable

      super
    end
def method_missing(meth, *args, &block)
      if key?(meth)
        value = self[meth]

        if value.is_a?(Hash)
          value.instance_eval do
            def method_missing(meth, *args, &block)
              if key?(meth)
                return fetch(meth)
              end

              super
            end
          end
        end

        return value
      end
      # rubocop:enable

      super
    end
rubocop:disable Lint/NestedMethodDefinition, Metrics/MethodLength