The following command shows the properties of an Object.
var keys = Object.keys(result);
Output: [requester.client.id,request.id]
When I try to print an alert(result[request.id]) or alert(result.request.id) I dont get the values. Is there something I am missing?
requester.client.idandrequest.id(i.e., the property names have period characters in them).alert, try your browser's developer console. You can inspect objects, set breakpoints and perform other useful debugging operations.