removed reference to old framework directory
use signOutAndRemoveLocalData: (clearLocalData was removed)
removed fromJSON: cruft
moved toJSON: to more specific methods in each member type