Better parsing for boolean values to accept strings or booleans from JSON

 - Fixes #95