Converted TargetedActionFactory to use json instead of xml