made Response object json serializable reworked tests and removed to_json from departure object