Simpler way to get value

DRY, creating wcng_get_value to get stored value or default value