Handle null when auto typing

when using the auto typing, if we get a null from the DB don't try to
decode it to a number, just pass it through as a null string