Changed checking if page was created to JSON method instead of CLI method.