change Metadata's get method to return Option types