this version has problem of json binary data