cook: cosmetics: Better names for joint_decode() function parameters