Fixed an issue where whitespace was not preserved for string values