Minor quibble, but since the determining factor is what key to use on the payload, couldn't it be something more to the effect of `runtime_key = using_mongoid ? :mongo_runtime : :db_runtime` and then pass it?  Doesn't necessarily have to be a ternary either.