json2protobuf: implement presented required fields check