minor performance improvements
A few orders of magnitude perfomrance increase on JSON.decode performance