BUG: FIX | Security Patch

Fixed JSON deserialization to disallow function and base64 encoded
values. In effort to prevent various known attack vectors.