Imports before main based on build_json, see #78