Added JSON file support.
Merge pull request #2 from telco2011/mongoDBtest

Added JSON file support.