In some situations, a server might respond with an unexpected format. Address this for json expectations.