Simple xml to object deserialisation for Ruby