hack to make longId a str in json