added addin json_format
fixed order of pdb