Renamed internal JSON functions.
Rewrite JSON string inputs to avoid so much reallocs.
Updated TODO.