add README
fix serializing object