Added configuration in Json format, much nicer.