This PR is similar to #24797, it compares /mempool/contents REST response with getrawmempool RPC (verbose=True) since they use the same MempoolToJSON function.
Also, adds a reference to getrawmempool RPC help to get details about the fields from /mempool/contents.