Making the script execution optional when building the Type's JSON.