Mbed build system stoped working

After last update of mbed framework and builder in PIO I can’t work normal anymore.
Old way of configuring (PIO_FRAMEWORK_MBED_RTOS_PRESENT) not working anymore.
New way of configuring not working either. When I add some configs in mbed_app.json build proccess fails (internal mbed build error) or config keys have no effect (“rtos.present”: “1” has no effect at all)

I’m forced to include build flag -D MBED_CONF_RTOS_PRESENT, but it is not right.

My mbed_app.json looks like:
“config”: {
“rtos.present”: “1”,
“events.present”: “1”

When I try to compile project I get: “Invalid parameter name ‘rtos.present’ in ‘application’”