small cleanup, since transaction is gone
Merge pull request #1198 from sly7-7/json-serializer-cleanup

small cleanup, since transaction is gone