Added method getText to TextComponentJson so that property text was printed