1. A method, in a server, comprising: receiving data from a server application; determining whether the data is serializable; and storing the data in a data structure and forwarding, to a client, a reference to the data structure if the data is not serializable.