Fixing Output Calls

Fixing formatting issues by turning objects into dictonaries