fdopen() makes supporting separate API for file descriptors useless. Supporting fd's also makes Jansson less portable.