Fixed syntax error
Added the ability to populate the database from a JSON file