CORE-4173: added a new endpoint to accept import JSON in the new format sent by the UI.