Defines and stores json models by indices within a level database