Fixing entities

1) thanks for verbosity hint
2) asked sat6 devs, most of the names are char[255], meaning, that if using utf, that has wider characters, generated names needs to be much smaller, so changing to 100

Better to use `if kwargs.get('json', None) is not None:`, I may want to pass json={} which will evaluate to false.