outputs adjusted formatting-wise for legibility and clarity
echo \"01230\" | jq 'split("")|map(tonumber)'
[ 0, 1, 2, 3, 0 ]
echo \"01230\" | jq 'split("")|reverse|to_entries|reverse|map({key, value: .value | tonumber})'
[ { "key": 4, "value": 0 }, { "key": 3, "value": 1 }, { "key": 2, "value": 2 }, { "key": 1, "value": 3 }, { "key": 0, "value": 0 } ]