Yet another object to hash conversion.