Add ability to serialize and deserialize classifier state as JSON.
0.0.2 -> 0.0.3