fix null pointer exception for sources which don't have any additional properties