Declarative data attribute treated as string?

I’m trying to use the data-data attribute to declare some json as my data source. This is my preferred way for my particular use case. Unfortunately, select2 seems to be treating the json as a string and listing the characters as my select options instead of parsing the json.

There’s nothing I can see in the documentation about his not being supported, so not sure if I’m doing something wrong or this is a bug.

I have created a fiddle here with two selects, once including the results key and one without, I’m not sure if it should be inlcluded or not.

https://jsfiddle.net/uew34Lmd/