Call to_ruby on parsed document