`dict:find(K, Res)` instead of `proplists:get_value(K, dict:to_list(Res))` ?