SiteWhere device management implementation on top of MongoDB