pub fn to_expry_object_in_scope<'b, 'c, Key, T>(
    values: &HashMap<Key, T>,
    scope: &mut MemoryScope<'c>
) -> EncodedValueRef<'b>where
    Key: AsRef<str>,
    T: Deref<Target = [u8]>,
    'c: 'b,