Verify top key in _parse_body

the client's _parse_body helper strips out the top
level key allowing us to miss bugs associated with
any key changes from the server [1]. Allow for opt-in
verification of the key.

[1] https://bugs.launchpad.net/manila/+bug/1968069

Change-Id: I3f17b54090c8a8e93269bd691768688242b7f010
Related-Bug: #1968069
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2 files changed