all() method fixed

Fixed all() method to actually return the object id as key instead of the namespace|id