treat config as empty obj and egv_records as empty array if undefined