* Minor optimization: JSON encoding has been taken away from the cycle.