guid properly returns string value instead of object