Nothing has malformed output if you coerce it's output into a statically defined set of options