Rewrite the case/whens in Field to if/else
Rewrite the case/whens in Field to if/else

Every clause really has a subclause, so if/else makes more sense. The change also avoids using #key? when #[] + !#nil? will avoid another hash lookup.
effata/jmespath.rb,jmespath/jmespath.rb