Effects Update 1

This PR hopes to reestablish some of the basic moddability of effects that my old health PR attempted to accomplish before becoming bogged down.

However I currently seem to be getting some random seg faults, can anyone help to spot the cause? Stacktraces are proving fairly inconclusive on my end, just spouting out long strings of alphanumeric characters and ???'s.
That writes an integer as key of the json object, but keys should be strings, can the parse read this back in?