fixing agent state enum lookup
adding some test data
adding some additional output and fixed schema
initial code necessary to instance and validate the job type