Expose metadata serde methods and remove random DOI generation