Add JSON/YAML parser for config file

The string of monads to get the default `data` for the AuthType is a
bit janky right now, but it works.