Converted log and keys to ORM lists