Removes the date so it can goes better into mongodb.