B hadron production, spectroscopy and properties at CMS. (January 2019)