initial commit
added check for function in enforceJson