Added err to failures in json reporter