Apply the license better.
Implement sub functions to decode strings and numbers.