Add quotes around term in JSON array