allow no json input for no argument methods