return dict instead of ids