XD-1331 Make Batch Job Restarts Work using Single Node

* Improve `ExpandedJobParametersConverter` so that `JobParameters` can be converted to JSON
* Add tests

Jira: https://jira.springsource.org/browse/XD-1331