numericalize children numeric name to convert JSON object to JSON array
fixnames(x)
x
input
unname numeric names list
fixnames(list("1" = 1, "2" = 2))