use MultiJson dump for file writing