REST API fixes for POSTing job