work code

here is work
-serialization to json
- may be in next version added xml type
and working on deserialize on file