Replaced JSON config with YAML.

Fixes #122.