Optimization Can Learn Johnson Lindenstrauss Embeddings