[refactor] introduce #getDecoded() for all of the primitive literals, and fix bugs registered in the prev. commit