After using the generate instances method instead of get objects the sources started returning colours. I tidied up the code here in the attached branch and it works well.
After using the generate instances method instead of get objects the sources started returning colours. I tidied up the code here in the attached branch and it works well.