Looks more like a PHP JSON File writer and reader (with some extra stuff like nested properties) then a NoSQL Database.
But somewhere i need to store the data, this could a flat-file or could be a series of BSON files on disk.
For the purpose of this database and technology being used, JSON file seems to work just fine. I hope you get the point.