Fixed type checks for Boolean and Number primitive types in valueToProperty

And fixed examples of ds.get and ds.getAll in the Readme.