Add a sample on how to use the  json API to serialize and unserialize a struct.
Change the use of seralize mod to make code clearer between json impl et serialize trait.