Issue white space sorounded key=value pairs

White space at the beginning and end of list of key=value pairs caused
parsing to fail.