Pass error+body when json requests fail parsing