Jsonflag

Is this what we need in order to ask the server for json?

We want to test deserialising json api responses. The deserialising might not work well, but we will need first to ask for json in order to test reading it.