add a test that covers this json / not json input
add a test that covers this json / not json input