Flat file db storing data as json arrays