Refactor PlatformMethod for logging the request and the response objects...

....