[BUG #7332] init __requestHeaders
[BUG #7332] adapt rest store and fix tests