Implement JSON processing.