added web_state for easier jsony stuff