If no raw data is available for string input, fall back to object data.

This closes issue #18.