update to new forestdb iterator api