Added method that fixes the strange encoding of some results