Add benchmark, change API to allow recursive JSON.