edit page: get json from client side and answer with json