(no-ticket) Utils for working with json

Change-Id: I118dedf2994ad75c1140142264386452ed7d51ac