fix silly issue when parsing advisory for JSON printing