Parse empty strings as nil

(rather than looping eternally)