optimise getConfiguration() method of common_configuration