You will definitely want to use latest versions for these features, as they continue to improve.
It should work in 5.07, and it is definitely working in the 5.07.10 update that I will be releasing shortly.
// This method gets a person in the body and echoes it back again.
// Since we want the provided value echoed right back we dont want
// the framework to free the argument automatically.
// The result is freed when needed.
[kbmMW_Rest(‘method:post, path: “echoPerson”‘)]
function EchoPerson([kbmMW_Rest(‘value: “body”, free:false’)] const APerson:TPerson):TPerson;