DATAES-91 - fixed payload feature

The payload feature of the completion suggester wasn't working. I fixed that, added corresponding unit tests to cover it and also fixed the messed up code format of our last pull request with the "intellij-formatting.jar" you guys kindly provided.
All changes are based on the latest upstream master branch so there shouldn't be any conflicts.