add option for mark to get json