I think I found the source of all my troubles.
I thought it’d be a nice idea to parse the RGB value from whatever source within the data_template. But apparently using multiple lines in rgb_value changes the value type from list to string and fails (source).