Block json function from throwing errors.