Fix job deserialization and submit immediate job through REST API

mvn package passed in local