I found the solution, which was much simpler. I’m sharing it now for anyone else who is in the same situation.
All you have to do is select all the keyframes, copy and paste them in an excel sheet. From there you can edit the values and paste them back to after effects with the new values.