Implementing Subquery in mongodb

Post your documents again after reading Formatting code and log snippets in posts. We cannot use what you published easily because it does not end up being valid JSON.