add uuid.h (missed from previous commits)
alter some minor details of the metadata API