JSON serializing in the particle editor

Disclaimer: This is a best effort expansion, so please discard the request if it s useless/done entierly wrong. :-P 

You should inspect the request, and check if there are any other fields that should be transient. At the moment it can serialize both the standard text format, and json-files. By removing backward compatibility a lot of code can be discarded,.