Fix transaction json model