output capability for json_socket