Converted cache to json

Moved PersonalStats from DataInput/OutputStream to saving/loading Json.