move json to separate file, validate it