A set of functions to create a database from a JSON file