Updating formatting and added /output/ API endpoint