added thinkup json decoder for better error reporting