remove need for type field in results json by just checking if a job has child jobs