Change HBase marshaling code to handle events in a more generic fashion.