created json file of buffer