Resolved. I'm just sending a formatted string back which is expected to be logged/exposed by the client. I don't feel the need to do json here as i don't think it needs to be structured.