add the json utils for client

add the json utils for client