Reset array keys and pull revision ID from post object