conversion and and validate

convert JSON to Object;
validate the json object