convert values to swift literals