change metadata work to save keywords to tags and other metadata as json to metadata field in images