InstantAnswer.pm - check for empty values before calling decode_json