Move json dependency into test group