use Hashr for config get/set to cleanup code