Converts record syntax to lenses