change metadata to edn