def hash_from_property(property, value)
      property.split(".").reverse.inject(value) { |value, item| { item => value } }
    end
def hash_from_property(property, value)
      property.split(".").reverse.inject(value) { |value, item| { item => value } }
    end
Returns a Hash generated from a JVM +property+ and its +value+.

 ==== Example:

   hash_from_property "webservice.auth.address", "http://auth.example.com"
   # => { "webservice" => { "auth" => { "address" => "http://auth.example.com" } } }