Params.hs: change key-value lists to something a little less brain-dead