get api config form keyval datasource - remove default locale and fall back to origin locale