Add JSON roundtrip check
Add travis config file