Add data<->json object convertors.