Catching JSON exception for all responses