added null field checking to the message field in the JsonErrorResponseFormatter.