Build a library to convert bencode to json string.