add import context to each record