1 2 3 4 5
. | select( .class == "IN" and .status == "NOERROR") | (.name|rtrimstr(".")) + "," + (.data.answers[] | select(.type == "AAAA") .data)?