fix nested config value parsing