better parsing code, short names with spaces between key and value allowed