Wrap the server responses in the ply object we return