Made less dependent on schemas, so worker type schema changes won't break this (no more hard coded references to top-level schema properties)
Made less dependent on schemas, so worker type schema changes won't break this (no more hard coded references to top-level schema properties)

petemoore/generic-worker,petemoore/generic-worker