implemented callback factory:  allows reuse of console-debugging code, for traversing all properties in callback response.