Fix problems with inconsistent parsing of redis data