fixed bugs related to config being a dict instead of JobConfig

Signed-off-by: Andrew Schoen <aschoen@redhat.com>