Add JSON export of Exercise class and sql.tags()