use content type json so we don't have to call JSON.parse on the client side
using deferreds, so we can compose ajax queries in serverutils
setting up websocket subscriptions for multiple models