add QuorumMetaData struct with encoding