Update MIME type. Make routes look nice.

This changes the mime-type to be compatible with the JSON API spec. It
also redefines routes closer to what I've been going for with #17.