Oxygenase that can act as both a histone lysine demethylase and a ribosomal histidine hydroxylase. Is involved in the demethylation of trimethylated Lys-9 on histone H3 (H3K9me3), leading to an increase in ribosomal RNA expression. Also catalyzes the hydroxylation of 60S ribosomal protein L27a on His-39. May play an important role in cell growth and survival. May be involved in ribosome biogenesis, most likely during the assembly process of pre-ribosomal particles.