Revert "Removed JSON2 library, removed custom unstruct. events"

This reverts commit eb42a4a1d2bbda36b259f0892e2e28baf6e45062.