use <|> instead of choice in KeyParameters parseJSON

Move from choice to <|> in the KeyParameters FromJSON instance,
resulting in fewer imports, simpler code and better error handling
(choice suppresses error messages).