FIX using fromjson() function to compose BSON for servicePath