Fix notice if JSON has no transaction data