resolves #396 allow JRuby Map as attributes

- also allow something we can convert to a Hash