Correctly handle quotes in values. Closes #5