Fixed reading of jsonUri to eliminate trailling characters.