refactory
add test json format sample