add some CDK to JSON functions