m2v2: new functions to serialize to JSON
Merge pull request #4 from fvennetier/master

New functions to serialize meta2v2 beans to/from JSON