working metadata parse