Add json

Closes #2025
s/attach the request/attach to the request :)