Convert specs from fragment formatting to string interpolation