Hi,
as far as I know there is no switch. I talked to Phil Riand, the XPages architect at IBM, about this topic a few weeks ago. It's a known limitation, which is not a big problem if you are only using XPages for web rendering and fast REST calls. This did not help for our use case, because we were working on a web ui with a lots of (Ext.js) controls that are fed by REST request data and they only loaded one by one in our application, which did not meet our requirements. That's why we added that feature to XPages2Eclipse.
According to Phil, there are some plans to improve this situation for 8.5.3, but probably only with a configuration flag that you can set to disable this HttpSession synchronization for the whole database, which should only be done when you are producing your own content with XPages and are not using those XPages for the web ui. Looks like the code that they added on top of JavaServer Faces is not Thread-safe. Which is a pity if all you are doing is to bypass the XPages code and write something manually to the output stream.
My tests were done with 8.5.2. Maybe it was different in 8.5.1.