Add ability of loading corpuses from JSON files