fn:serialize($node, map {"method":"json", "media-type":"application/json", "exist:jsonp":"functionName"})