rename failures property to failed in json output.