Support JSON with padding.