refactor - use dolist instead of mapc, check for :json-false instead of just not t