Support importing from json-formatted files.