so the invalid json would throw properly