hard code 1-level nested metadata as capnproto struct