Stav dette: A Bayesian analysis of regularized source inversions in gravitational lensing