m2v2: new functions to serialize to JSON
Clean licenses declaration

Change-Id: I879929648e33ba9a8021b8dd864267e87642c5bb
Merge "m2v2: new functions to serialize to JSON Clean licenses declaration"