Historical data with REST/MongoDB