Fix specs and send as JSON.