Parser string value

fixes https://github.com/quantifind/Sumac/issues/26

I had to put some `asInstanceOf[AnyRef]` in the code, but I don't think I had a choice w/ what I get from java reflection.