CMS-3350 Use generic source classes in scripting code. Fixed ResourceKeys and getcChildren service method.