Fix TestPutRpc unit tests to look for string in the JSON and avoid potential
problems with unknown field ordering.