Is there no way for him to create an object from that data structure (looks like he needs to research how to make his client behave)? Anyway, if this is the real problem and not just an example, I'd do the thing in one call rather that three method calls. You're making three trips to the http server when it you could do it in one.