A PDO decorator for caching query results in a mongo database