Fix indentation
Return record objects not json objects