Modified readers and writers to work with plain JsonObject rather than IO and InputStream and OutputStream