JSON Domains TTL

Small change to add the TTL to the list of records associated with the main domain for a JSON GET.

Also includes recent commits to cannonical HEAD which weren’t in this branch.