Refactor config to fulle use hashes and explicit keys

This change makes the config hashes easier to read, write and
maintain by turning them into full hashes and using the same keys
in trigger that are used in git.