provide a method to produce record hashes