Change API models to use UUIDs for the _id.

Forgot to do this along with the data migration to UUIDs.