Decouple JsonContext from Mink

In order to use JsonContext without mink session