Catch the NumberFormatException and handle it in GET

If a field is a multi field and requested with a GET request then
this will return the value of the parent field in case the document
is retrieved from the transaction log.
If the type is numeric but the value a string, the numeric value will
be parsed. This caused the NumberFprmatException in case the field
is of type `token_count`.

closes #6676