Added automatic migration of old event subscription format to the new one