setJsonPostData uses deprecated properties

Instead of using the deprecated `jsonData` now use the standard `data` property to encode data information from a request filter.

Fixes #373