Fixes for file headers, boolean-string parsing and base64-string support for automatic decoding/encoding userData, etc.