Fixed remaining issues for custom result value objects' templates. refs #487