moved parsing of primitives to a helper class
added MongoDB property
using Scala's serializable
added support for parsing lists of hosts