Elegant definition of Storable instances for records
