Fix make_patch() when root is an array (fixes #28)