removed add_from_xml from validation. implemented add_from_JSON. TODO: fetch the errors from the json answer and push them