get form input for a tag from page. Added struct to unmarshal json to