add test and fix json and ltsv too