Clean up linting and make more idiomatic by using an output parser --------- Co-authored-by: FergusFettes <fergusfettes@gmail.com>
Co-authored-by: Ankush Gola <ankush.gola@gmail.com>