additional logging for json errors