added sendJSON() to SpokesController