Flat file JSON database for PHP