write tables to json in unit test
refine
add format path class
add format path usage to get the format node