Preserve order of lists in JSON -> Erl conversion