Much better

Now roundtripping using the http api with a fully fledged repository
encapsulating all the pesky details.