Apply patch for recursive objects from http://pyyaml.org/ticket/159