This defines an array of the same elements that are represented in the above hash.
Is there any danger in sorting the payload's `opt_keys` before passing to `.each` instead?