Change couchdb objects to use typeId instead of type, so we can use play json read macros