Add GetMetadata function to SimpleClient