Switched config to an object instead of an array

Change-Id: I74218db7ad1a037584465e83391ca0711353309e