Config.hs: Fast compilation time

* Split expensive Generic/FromJSON/ToJSON instances from Config