Deserialize metadata when listening for jobs.