types: Avoid using deserialize_value in json code
types: Avoid using deserialize_value in json code

This makes it independent of internal functions and makes it possible
to move it to another file.

Signed-off-by: Rafael Ávila de Espíndola <1975039f9046bf513b77c0c5639a0efc25f00e7f@scylladb.com>
Message-Id: <20191120181213.111758-6-1975039f9046bf513b77c0c5639a0efc25f00e7f@scylladb.com>

avikivity/scylla,scylladb/scylla,avikivity/scylla,scylladb/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla