It is possible to add a function to dump the value of a binn in json like format? The possible prototype could be: const char *binn_to_string(void *data, size_t data_len); I think it will be very important for debug purpose.