add txt/json option