Export hash to metadata