consider html (json) input