Improved production mode when creating JSON.