Apparently since I am using WPGlobus plugin for multiple languages this would not work for me. Just wanted to write it here for somebody to save a few hours trying to disable auto formating while using WPGlobus plugin. 

The solution with WPGlobus plugin:

Apparently it passes everything trough the `wpautop` function in the plugin. It is in the file `wp-content\plugins\wpglobus\includes\class-wpglobus.php` 

I changed 

    $post_content_autop = wpautop( $post_content ); 

to 

    $post_content_autop = $post_content;

in the file and it disabled all autoformatting for me while using WPGlobus plugin.

Hope this helps somebody not to go through what I just did.