Increase metadata character limits


I am heavily relying on the metadata from tasks to gather information through the API for external applications I am developing at my workplace.

The issue I have is that the field is limited to 255 characters which is too short for me.

Is there a workaround? I was thinking about artificially changing the field type/limit on the database directly but I suppose that must be rather dangerous to do it this way.

Thanks for the help !