KeyBackend MongoBackend entity -> Key entity

Gives nicer error messages