Added a "justMetadata" parameter that causes just the wrapper text to be returned.