Allow timestamp values to be None

This fixes #1 by catching the TypeError resulting from `json_string` being `None`.