That is to say, there's an assumption in the code that keys are str and thus errors like "int has no attribute startswith" and the likes.
Quick and easy to fix by just casting all keys to strings after they're read (although that's may not be optimal, because the code using Alviss to read yaml/json may be expecting int keys but now gets str and needs to cast to int... :-/
There's also a workaround where you just surround the key with quotes to force them to be a string.
That is to say, there's an assumption in the code that keys are str and thus errors like "int has no attribute startswith" and the likes.
Quick and easy to fix by just casting all keys to strings after they're read (although that's may not be optimal, because the code using Alviss to read yaml/json may be expecting int keys but now gets str and needs to cast to int... :-/
There's also a workaround where you just surround the key with quotes to force them to be a string.