cli should print out json body when error occurs
cli should print out json body when error occurs

Previous attempt to make this change 1daa931833c55aed1bde1a5504718a8d1b7626c8
caused the library to not throw when there was an
error.  That was bad.  Now the library still
throws, but the cli catches it and prints out
the body if it is json

eam/dnsdb,eam/dnsdb