import fastjson & fix bugs.

1. instead of jdk, use fastjson serialization.
2. some revision.