implemented equals and hashcode for Macaroon
implemented DeSerialization Feature