simplified UploadcareUtil, fixed for 5.3+

related to last commit 657b61dff7c1f6f10468a659a8498902ca73b916