Fixed segfault when attempting to process a malformed JSON string.
Fixed segfault when attempting to process a malformed JSON string.

This ensure we have a valid JSON key before processing value.
Fixes #2018

allinurl/goaccess,allinurl/goaccess,allinurl/goaccess,allinurl/goaccess