added id in response

added id field in jsonrpc response. this is needed by spec and some
clients may not work expecting the id field