If your configuration file can benefit from a combination of JSON + functions + types, then consider Dhall. Neuron uses Dhall for configuration, but only in a simple fashion (no functions, for instance).