Add read_xx functions, return inner data and dump it, instead of printing as soon as reading.