Stats.buildFromObj