json import: allow to specify import mode

Records in import json can now specify if they want to be created, updated or create-or-updated (default). Using attributes failIfExists and failIfNotExists, one can silently skip these predictable failures.