Could you try changing versionsDecoder
to:
versionsDecoder =
Decode.list (Decode.keyValuePairs Decode.value)
|> Decode.map (List.concatMap identity)
|> Decode.map buildVersions
It feels like it should work.
It’s better to ask this kind of question on slack even though it’s a pretty long question.
(discourse rules)