Replaced toJSON by marshall and implement the code in Video, Sound and Image + associated tests.