meta class to create a hash of the class