change interface json_array_build_from_raw to unsigned char*