LPS-38427

My proposal is to handle the `data` string before it gets changed and returned. This is because I assume, from the current code, that return value is not a complex object.

Another solution would be to create a simple map with `data` key and whole serializable object as its value - assuming that returned object may be a complex one. And then to perform loose serialization to a String.

I would also reconsider replacing the return type of the `getData()` method with anything but non-`JSONObject`. This should be a real type (`Serializable` is acceptable, at the end) and not json-specific type; so we can let our web service layer do the serialization on its own.