Don't smash the JSON global create_id

Don't set the global JSON create_id to nil, instead set it to nil when we parse and when we generate JSON.