Implement hash and json methods on SuperStruct