Sqlite3, ActiveRecord and Json