[engine] Implement support for requiring of JSON files