Extract json handling tests into a test for the json handling module