convert to using ffi-yajl