red-brick: Handle JSON loads() exception