parse json as task source. Basic test in tests.