add headerless support for json format