Made the ServerAdapter use Json objects instead of data.