Fixed demo json handler.