Sqlite chart converter to Mongodb collection