Implemented JSON functionality for most of blenddata.

Removed deprecated code.