json_decode the config into an array