from_json() in case of error dies with usefull info