fixes json formatting, adds record_util