Make statements index visible as JSON and create "last" endpoint.