Reversing keys/values from %OUTPUT_KEYS