read octet as json