Added JsonUtil with encode method