Made input JSON validate