Initial implementation of metadata serde