Fixed JSON ValueError issue

Added ValueError exception to all methods to provide better diagnostics
while authentication issue or WAPI version mismatch