manage dependencies in JSON export