Completed transformBase64ToJSON procedure.