Encode, decode, validate, handle errors (exceptions) and pretty print JSON