log handler: drop backward compatibility for Comment entities
port to ndb, step 4 of N
port to ndb, step 5 of N
port to ndb, step 6 of N