return empty strings for empty inputs (PARSERLIB-29)