Feature
As of today, only OSRM sources support the "native" OSRM API. Other sources could implement it using the new "engineExtras" properties.
How to do it
Reference : engineExtras in osrmSource.js
https://github.com/IGNF/road2/pull/99/files#diff-8fa9c95b9987a2858d347453b4281e238566c2c0baaa2b591eed97d25b6d2501R376
Implement somthing similar in pgrSource and valhallaSource