update json interface
add support for handlers with request argument, add http method