TODO reduce memory usage of nunjacks. separate the db.json file to multi smaller files. Use sqlite3 or mongoDB instead of json file.