Correctly handle quotes in values. Closes #5

@stoyan: Can you think of any other cases?