Hash value extraction in order to obey gelf specs

only strings and numbers are allowed in v1.1

see http://graylog2.org/gelf#specs