Store/retrieve download JSON in mongodb