Fix for MongoDB nodes serialization

In order to install mongo nodes properly in any environment mode
we need identical serialization of nodes

Change-Id: I7d01c93af5226aa0e6d0c75d8f9586f2d48dca5e
Closes-Bug: #1308999
Merge "Fix for MongoDB nodes serialization"