Convert SQLite to Objects and export to JSON