be more rebust to apache json format