implementation json for pdb