Implement JSON signing