fixed JSON conversion
reallow attribute names starting with underscores