Add tag s@script.to_json

Other than an unspecified type key and forced uppercase, this is a
pretty solid JSON conversion.