Add function to migrate forum data to mongodb