better handling of values when there is no key