Move config out of JSON